package com.example.project.controller;

import com.example.project.entity.TcdmSecureHandleStat;
import com.example.project.service.TcdmSecureHandleStatService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

@RestController
@CrossOrigin
@RequestMapping("tcdmSecureHandleStat")
public class TcdmSecureHandleStatController {
    @Resource
    private TcdmSecureHandleStatService tcdmSecureHandleStatService;
    /**
     * 获取处理状态
     *
     * @return 处理状态
     */
    @GetMapping("findStat")
    public List<TcdmSecureHandleStat> findAll(){
        return  this.tcdmSecureHandleStatService.findAllStat();
    }
}
